package com.molin.MethodTest;

public class Demo4Method {
    public static int add(int a, int b) {
        return a + b;
    }

    public static void main(String[] args) {
        int x = add(10, 20);
        System.out.println(x);
    }
}
